package com.platform.modules.wallet.dao;

import com.platform.common.web.dao.BaseDao;
import com.platform.modules.wallet.domain.WalletTransfer;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface WalletTransferDao extends BaseDao<WalletTransfer> {

    Integer queryGroupToday(Long userId, String today);
    Integer queryGroupTodayByNotUserId(Long userId, List<Long> userIds, String today);
    Integer queryUserToday(Long userId, Long finance, String today);
    Integer clearRecord(String beforeToday);

    Integer querySumAll();
}
